package com.myBlog.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.myBlog.domain.ResponseResult;
import com.myBlog.domain.dto.LinkDTO;
import com.myBlog.domain.entity.Link;
import com.myBlog.domain.vo.PageVo;

import java.util.List;


/**
 * 友链(Link)表服务接口
 *
 * @author makejava
 * @since 2023-03-14 17:10:59
 */
public interface LinkService extends IService<Link> {

    ResponseResult getAllLink();

    ResponseResult<PageVo> list(Integer pageNum, Integer pageSize, LinkDTO linkDTO);

    ResponseResult getLinkInfo(Long linkId);

    ResponseResult updateLink(LinkDTO linkDTO);

    ResponseResult delete(List<Long> ids);

    ResponseResult addLink(LinkDTO linkDTO);
}

